package com.easyapi.dao.entity.api;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easyapi.dao.entity.BaseModel;
import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * api项目表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "api_center_project")
@Builder
public class ApiCenterProject extends BaseModel implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 是否删除1--删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 项目名称
     */
    @TableField(value = "project_name")
    private String projectName;

    /**
     * 项目描述
     */
    @TableField(value = "project_desc")
    private String projectDesc;

    /**
     * 项目状态0：初始化，1：正常,2:禁用,3:失败
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 开启服务编排
     */
    @TableField(value = "open_orchestration")
    private Integer openOrchestration;
}